public class NegotiationSession
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Domain |
domain
Reference to the negotiation domain.
|
protected BidHistory |
opponentBidHistory
History of bids made by the opponent.
|
protected OutcomeSpace |
outcomeSpace
Optional outcomespace which should be set manually.
|
protected BidHistory |
ownBidHistory
History of bids made by the agent.
|
protected Timeline |
timeline
Reference to the timeline.
|
protected UtilitySpace |
utilitySpace
Reference to the agent's preference profile for the domain.
|
| Modifier | Constructor and Description |
|---|---|
protected |
NegotiationSession()
Special constructor used by the NegotiationSessionWrapper.
|
|
NegotiationSession(UtilitySpace utilitySpace,
Timeline timeline)
Create a negotiation session which is used to keep track of the
negotiation state.
|
|
NegotiationSession(UtilitySpace utilitySpace,
Timeline timeline,
OutcomeSpace outcomeSpace)
Create a negotiation session which is used to keep track of the
negotiation state.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDiscountedUtility(Bid bid,
double time)
Returns the discounted utility of a bid given the bid and the
time at which it was offered.
|
double |
getDiscountFactor()
Returns the discount factor of the utilityspace.
|
Domain |
getDomain()
Returns the negotiation domain.
|
java.util.ArrayList<Issue> |
getIssues() |
BidDetails |
getMaxBidinDomain()
Returns the best bid in the domain.
|
BidDetails |
getMinBidinDomain()
Returns the worst bid in the domain.
|
BidHistory |
getOpponentBidHistory()
Returns the bidding history of the opponent.
|
OutcomeSpace |
getOutcomeSpace()
Returns the space of possible outcomes in the domain.
|
BidHistory |
getOwnBidHistory()
Returns the bidding history of the agent.
|
double |
getTime()
Returns the normalized time (t = [0,1])
|
Timeline |
getTimeline() |
UtilitySpace |
getUtilitySpace()
Returns the utilityspace of the agent.
|
void |
setOutcomeSpace(OutcomeSpace outcomeSpace)
Method used to set the outcomespace.
|
protected OutcomeSpace outcomeSpace
protected BidHistory opponentBidHistory
protected BidHistory ownBidHistory
protected Domain domain
protected UtilitySpace utilitySpace
protected Timeline timeline
protected NegotiationSession()
public NegotiationSession(UtilitySpace utilitySpace, Timeline timeline)
utilitySpace - of the agent.timeline - of the current negotiation.public NegotiationSession(UtilitySpace utilitySpace, Timeline timeline, OutcomeSpace outcomeSpace)
utilitySpace - of the agent.timeline - of the current negotiation.outcomeSpace - representation of the possible outcomes.public BidHistory getOpponentBidHistory()
public BidHistory getOwnBidHistory()
public double getDiscountFactor()
public java.util.ArrayList<Issue> getIssues()
public Timeline getTimeline()
public double getTime()
public Domain getDomain()
public UtilitySpace getUtilitySpace()
public OutcomeSpace getOutcomeSpace()
public void setOutcomeSpace(OutcomeSpace outcomeSpace)
outcomeSpace - to be set.public BidDetails getMaxBidinDomain()
public BidDetails getMinBidinDomain()
public double getDiscountedUtility(Bid bid, double time)
bid - which discount utility is requested.time - at which the bid was offered.